home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMCSSImportRule.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  114 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMCSSImportRule.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMCSSImportRule_h__
  6. #define __gen_nsIDOMCSSImportRule_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMCSSRule_h__
  10. #include "nsIDOMCSSRule.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMCSSImportRule */
  19. #define NS_IDOMCSSIMPORTRULE_IID_STR "a6cf90cf-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMCSSIMPORTRULE_IID \
  22.   {0xa6cf90cf, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMCSSImportRule : public nsIDOMCSSRule {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMCSSIMPORTRULE_IID)
  29.  
  30.   /* readonly attribute DOMString href; */
  31.   NS_IMETHOD GetHref(nsAString & aHref) = 0;
  32.  
  33.   /* readonly attribute nsIDOMMediaList media; */
  34.   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) = 0;
  35.  
  36.   /* readonly attribute nsIDOMCSSStyleSheet styleSheet; */
  37.   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) = 0;
  38.  
  39. };
  40.  
  41. /* Use this macro when declaring classes that implement this interface. */
  42. #define NS_DECL_NSIDOMCSSIMPORTRULE \
  43.   NS_IMETHOD GetHref(nsAString & aHref); \
  44.   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia); \
  45.   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIDOMCSSIMPORTRULE(_to) \
  49.   NS_IMETHOD GetHref(nsAString & aHref) { return _to GetHref(aHref); } \
  50.   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) { return _to GetMedia(aMedia); } \
  51.   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) { return _to GetStyleSheet(aStyleSheet); } 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  54. #define NS_FORWARD_SAFE_NSIDOMCSSIMPORTRULE(_to) \
  55.   NS_IMETHOD GetHref(nsAString & aHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
  56.   NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
  57.   NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleSheet(aStyleSheet); } 
  58.  
  59. #if 0
  60. /* Use the code below as a template for the implementation class for this interface. */
  61.  
  62. /* Header file */
  63. class nsDOMCSSImportRule : public nsIDOMCSSImportRule
  64. {
  65. public:
  66.   NS_DECL_ISUPPORTS
  67.   NS_DECL_NSIDOMCSSIMPORTRULE
  68.  
  69.   nsDOMCSSImportRule();
  70.  
  71. private:
  72.   ~nsDOMCSSImportRule();
  73.  
  74. protected:
  75.   /* additional members */
  76. };
  77.  
  78. /* Implementation file */
  79. NS_IMPL_ISUPPORTS1(nsDOMCSSImportRule, nsIDOMCSSImportRule)
  80.  
  81. nsDOMCSSImportRule::nsDOMCSSImportRule()
  82. {
  83.   /* member initializers and constructor code */
  84. }
  85.  
  86. nsDOMCSSImportRule::~nsDOMCSSImportRule()
  87. {
  88.   /* destructor code */
  89. }
  90.  
  91. /* readonly attribute DOMString href; */
  92. NS_IMETHODIMP nsDOMCSSImportRule::GetHref(nsAString & aHref)
  93. {
  94.     return NS_ERROR_NOT_IMPLEMENTED;
  95. }
  96.  
  97. /* readonly attribute nsIDOMMediaList media; */
  98. NS_IMETHODIMP nsDOMCSSImportRule::GetMedia(nsIDOMMediaList * *aMedia)
  99. {
  100.     return NS_ERROR_NOT_IMPLEMENTED;
  101. }
  102.  
  103. /* readonly attribute nsIDOMCSSStyleSheet styleSheet; */
  104. NS_IMETHODIMP nsDOMCSSImportRule::GetStyleSheet(nsIDOMCSSStyleSheet * *aStyleSheet)
  105. {
  106.     return NS_ERROR_NOT_IMPLEMENTED;
  107. }
  108.  
  109. /* End of implementation class template. */
  110. #endif
  111.  
  112.  
  113. #endif /* __gen_nsIDOMCSSImportRule_h__ */
  114.